﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="xwgg.ascx.cs" Inherits="xwgg" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<div style="height:580px;">
<asp:Repeater ID="Repeater1" runat="server">
    <ItemTemplate>
        <div style="width: 700px; height: 25px; float: left; padding-top: 5px; border-bottom: #CCCCCC 1px dashed">
            <div style="width: 380px; float: left; text-align: left;">
                ＞ <a href="ReadNews.aspx?ID=<%# DataBinder.Eval(Container.DataItem, "pkID")%>" target="_blank">
                    <%# LimitNum.Limit((DataBinder.Eval(Container.DataItem, "wtnewsName")).ToString(),30)%>
                </a>
            </div>
            <div style="width: 320px; float: right; text-align: right">
               发表于 &nbsp;<%# Convert.ToDateTime(DataBinder.Eval(Container.DataItem, "wtnewsDate")).ToString("yyyy-MM-dd")%>
               &nbsp;&nbsp;&nbsp;发表人：<%# DataBinder.Eval(Container.DataItem, "wtnewsMan")%>
            </div>
        </div>
    </ItemTemplate>
</asp:Repeater></div>
<div style="float: left">
  <webdiyer:aspnetpager id="AspNetPager1" runat="server" OnPageChanging="AspNetPager1_PageChanging" CssClass="paginator" CurrentPageButtonClass="cpb" FirstPageText="首页"
Font-Size="12px" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页"
ShowBoxThreshold="11" SubmitButtonText="跳转" PageIndexBoxType="DropDownList"></webdiyer:aspnetpager>
</div>